<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            margin: 0px;
            padding: 0px;
        }

        .header {
            background: #D5D6D6;
        }

        .nav {
            margin-left: auto;
            margin-right: auto;
            background: #D5D6D6;
            height: 30px;
            width: 1000px;
            position: relative;
        }

        .nav ul {
            position: absolute;
            left: 35%;
            overflow: hidden;
            width: 300px;
        }

        .nav li {
            list-style: none;
            float: left;
            width: 60px;
        }
        li a{
            font-weight: bold;
            font-size: 18px;
        }
        .header a{
            line-height: 30px;
            text-decoration: none;
            color: black;
        }
        .nav-left{
            float: left;
        }
        .nav-right{
            float:right;
        }
    </style>
</head>

<body>
    <div class="header">
        <div class="nav">
            <ul>
                <li>
                    <a href="#">首页</a>
                </li>
                <li>
                    <a href="#">资讯</a>
                </li>
                <li>
                    <a href="#">测评</a>
                </li>
                <li>
                    <a href="#">商城</a>
                </li>
            </ul>
        <div class="nav-left">
                <img src="images/location.png" alt="">
                <a href="#">深圳 &lt;切换&gt;</a>
        </div>
        <div class="nav-right"> 
            <img src="images/adm.png" alt="">
            <a href="#">个人中心</a>
        </div>
    </div>
    </div>
</body>
</body>

</html>